package win.larryzeal.spring.theme.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by 张少昆 on 2017/8/25 0025.
 */
@Controller
@RequestMapping("/test")
public class TestController {

	@RequestMapping("/theme")
	public String jsp(){
		return "test";
	}
	@RequestMapping("/1")
	@ResponseBody
	public String test1(){
		return "test1";
	}
}
